Skip to content

Add Namespace (nsc) CLI to the devcontainer#25

Merged
bmorton merged 1 commit into
mainfrom
copilot/add-namespace-so-cli
Jun 16, 2026
Merged

Add Namespace (nsc) CLI to the devcontainer#25
bmorton merged 1 commit into
mainfrom
copilot/add-namespace-so-cli

Conversation

Copilot AI commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Adds the namespace.so nsc CLI to the devcontainer.

Changes

  • .devcontainer/Dockerfile: Runs the official Linux installer, pointing NS_INSTALL_DIR at /usr/local/bin so nsc is on PATH for both the node and root users:
    RUN curl -fsSL https://get.namespace.so/cloud/install.sh | NS_INSTALL_DIR=/usr/local/bin sh
  • README.md: Lists the Namespace CLI under devcontainer features.

Notes

  • Installs system-wide rather than the installer's default per-user ~/.local/bin, which wouldn't be on PATH for the node user (the build runs as root).
  • The installer resolves the latest nsc version dynamically; curl | sh mirrors the upstream-documented install method and the script-based approach used by the existing features.

@bmorton bmorton marked this pull request as ready for review June 16, 2026 04:34
@bmorton bmorton merged commit 59b604c into main Jun 16, 2026
2 checks passed
@bmorton bmorton deleted the copilot/add-namespace-so-cli branch June 16, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants